package com.situ.mall.service.impl;

import com.situ.mall.mapper.AdminMapper;
import com.situ.mall.pojo.Admin;
import com.situ.mall.service.IAdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminServiceImpl implements IAdminService {
    @Autowired
    private AdminMapper adminMapper;


    @Override
    public Admin login(String name, String password) {
        return adminMapper.login(name, password);
    }
}
